package eteam.aps.model.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import eteam.aps.common.entity.ParentEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 产品序号序号规则;产品序号序号规则
 *
 * @author LiuLei
 */
@ApiModel(value = "产品序号序号规则", description = "产品序号序号规则")
public class ProductNumberDto {

    @ApiModelProperty("前缀")
    private String fFront;

    @ApiModelProperty("后缀")
    private String fLastStr;

    @ApiModelProperty("序号位置【-1 首位，0 中间，1 最后】")
    private Integer location;

    @JsonIgnore
    private String startNo;

    @JsonIgnore
    public static final Integer type = ParentEntity.FSTATE_DELETED;

    public String getfFront() {
        return fFront;
    }

    public void setfFront(String fFront) {
        this.fFront = fFront;
    }

    public String getfLastStr() {
        return fLastStr;
    }

    public void setfLastStr(String fLastStr) {
        this.fLastStr = fLastStr;
    }

    public Integer getLocation() {
        return location;
    }

    public void setLocation(Integer location) {
        this.location = location;
    }

    public String getStartNo() {
        return startNo;
    }

    public void setStartNo(String startNo) {
        this.startNo = startNo;
    }
}